You are looking at the HTML representation of the XML format.
HTML is good for debugging, but is unsuitable for application use.
Specify the format parameter to change the output format.
To see the non HTML representation of the XML format, set format=xml.
See the complete documentation, or API help for more information.
<?xml version="1.0"?>
<api>
  <query-continue>
    <revisions rvcontinue="133" />
  </query-continue>
  <query>
    <pages>
      <page pageid="1" ns="0" title="Main Page">
        <revisions>
          <rev user="Pj" timestamp="2022-08-05T11:57:59Z" comment="Bug Tracker is deprecated, use mailing lists instead." />
          <rev user="Pj" timestamp="2022-08-05T11:56:01Z" comment="Add EL9" />
          <rev user="Pj" timestamp="2021-06-04T02:23:36Z" comment="Freenode to Libera" />
          <rev user="Pj" timestamp="2020-12-21T02:42:52Z" comment="el6 is EOL" />
          <rev user="Pj" timestamp="2017-04-15T23:32:53Z" comment="archive el5" />
        </revisions>
      </page>
    </pages>
  </query>
</api>